import {
	request
} from "./request";

//获取音标列表
export function getPhoneticPracticeList() {
	return request({
		url: "/api/phonetic/getList",
		method: "get"
	});
}
//获取音标列详情
export function getPhoneticPracticeInfo(query) {
	return request({
		url: "/api/phonetic/getInfo",
		method: "get"
	},{
		query
	});
}

//获取音标专练单词列表
export function getPhoneticPracticeWords(query) {
	return request({
		url: "/api/phonetic/getWords",
		method: "get"
	},{
		query
	});
}

//保存音标专练单词分数
export function savePhoneticPracticeScore(data) {
	return request({
		url: "/api/phonetic/saveFollow",
		method: "post"
	},{
		data
	});
}

//获取音标专练作业日志
export function getPhoneticPracticeLogs(query) {
	return request({
		url: "/api/phonetic/getLog",
		method: "get"
	},{
		query
	});
}

//保存音标专练作业日志
export function savePhoneticPracticeLogs(data) {
	return request({
		url: "/api/phonetic/saveWork",
		method: "post"
	},{
		data
	});
}



